.category-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.category-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: visible; /* 使用外层页面滚动容器，避免双滚动 */
  padding: 0 40px 0 8px; /* 为右侧 Anchor 预留空间 */
}

.section { margin-bottom: 12px; }

.item {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;

  &:hover{
    background-color: var(--gray-1);
  }
}

.item-icon {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  overflow: hidden;
  background: #f5f5f5;
}
.item-icon img { width: 100%; height: 100%; object-fit: cover; }

.item-name {
  font-size: 14px;
}

:global #page > div[class^="_category-wrap"] {
  margin: 48px auto;
}
